package customer.zspt.cn.customer.constant;

import android.os.Environment;

import java.io.File;

public class constant {
    public static String LOGINFURL = "http://uc.yomiyun.com/oauth/login?redirect_uri=http:%2F%2Fim.yomiyun.com%2Fapp.html%23%2Flogin&response_type=code&client_id=1&usertype=staff";
    public static String LOGINTURL = "http://im.yomiyun.com/oauth_login";
    public static String AllMSG = "http://im.yomiyun.com/api/kefu";
    public static String GROUPURL = "http://im.yomiyun.com/api/kefu/skill/info/";
    public static String  SKILLGROUP_INFO= "skillgroup_info";
    public static String ULOGIN = "http://im.yomiyun.com/logout_kefu";
    public static String uploadImage = "http://im.yomiyun.com/upload/image";
    public static String uploadVoice = "http://im.yomiyun.com/upload/file";
    public static String KEFU = "KEFU";//客服
    public static String MEMBER = "member";  //会员
    public static String TOURIST = "tourist";//游客
    public static String SERVEX = "servex"; //服务号
    public static String TEXT = "text"; //测试文本
    public static String ARTICLE = "article";//文章
    public static String FILEX = "filex";
    public static String GDATAPROP = "gdataprop";
    public static String ORDERPROP = "orderprop";
    public static String MIMEINFO = "mineinfo";//我的信息
    public static String FRIEND_INFO = "friend_info";//好友信息的key
    public static String LOGINRESULT = "loginresult";//登陆信息
    public static String SKILL = "skill"; //群聊售前;
    public static String HISTROYCHATPEOPLE = "historychatpeople";//聊天成员
    public static final  int REQUEST_ALBUM_OK = 0;//打开相册请求码
    public static final  int CROP_PHOTO = 1;//打开摄像头
    public static String IMAGEPATH = Environment.getExternalStorageDirectory().getAbsolutePath()
            + File.separator+"customerCache"+File.separator;//图片缓存路径

    public static String MSGSQLITENAME = "msgsqlite.db";//聊天记录的数据库
    //每次查询的记录数
    public static int queryMsgCount = 8;
}
